<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Document</title>
    <style type="text/css" media="all">
        * {
            box-sizing: border-box;
            outline: none;
        }
        html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            font-family: SimSun;
            font-size: 13px;
        }

        @page{size: A4}

    </style>
</head>
<body>
<div class="main">
    <div class="content">
        <div>
            <img src="${image!}" alt="" style="position: absolute;padding-left: 5px;"/>
            <h3 style="text-align: center;font-size: 20px !important;">工序外协订单</h3>
            <div style="text-align: right;padding-right: 50px;">编号：${outCode!}</div>
        </div>
        <div style="margin-top: 50px; line-height: 30px;font-weight: 600;margin-left: 30px;">
            <div>甲方：江苏振江新能源装备股份有限公司</div>
            <div>统一社会信用代码：91320200758486753</div>
            <div>乙方：${supplierName!}</div>
            <div>统一社会信用代码：${dutyParagraph!}</div>
        </div>

        <div style="margin-top: 15px;overflow-x: auto">
            <div style="font-weight: 600;margin-left: 15px">标的/数量/报价：</div>
            <table class="mt30px" style="border-collapse:collapse;width: 100%" border="1pt" bordercolor="#000000"  >
                <tr style="background-color: #d9d9d9;">
                    <th style="width: 80px;text-align: center">项目名称</th>
                    <th style="width: 210px;text-align: center">物料图号</th>
                    <th style="text-align: center">加工工序</th>
                    <th style="text-align: center">暂估量/件</th>
                    <th style="text-align: center">含税13%单价/元</th>
                    <th style="text-align: center;">含税金额/元</th>
                    <th style="width: 120px;text-align: center">交货期</th>
                    <th style="text-align: center">是否竞价</th>
                </tr>

                <tbody id="TableBody">
                <#list records as item>
                    <tr>
                        <td align="center">${item.projectNo}</td>
                        <td align="center">${item.drawingNo}</td>
                        <td align="center">${item.processName}</td>
                        <td align="center">${item.workNumber}</td>
                        <td align="center">${item.workCost}</td>
                        <td style="background-color: #d9d9d9;" align="center">${item.totalTaxAmount}</td>
                        <td align="center">${(item.deliveryTime?string('yyyy-MM-dd'))!}</td>
                        <td style="background-color: #d9d9d9;" align="center">${item.isOutCompare}</td>
                    </tr>
                </#list>
                </tbody>
                <tr>
                    <td style="font-weight: 600;font-size: 14px;">合计人民币小写：</td>
                    <td  align="center" colspan="8" style="font-weight: 600;" id="totalRMB">${totalAmount!}</td>
                </tr>
                <tr>
                    <td style="font-weight: 600;font-size: 14px;">合计人民币大写：</td>
                    <td align="center" style="font-weight: 600;" colspan="8">${totalAmountRmb!}</td>
                </tr>
            </table>
        </div>

        <div style="margin-top:15px;">
            <div style="font-weight: 600;margin-left: 15px;">附加条款</div>
            <div style="margin-top:15px;line-height: 30px;margin-left: 30px;">
                <div>1，乙方须按与甲方签订的外协加工合同中各项条款执行，相关的技术文件作为附件由甲方提供给乙方。</div>
                <div>2，按实际加工签收单据计算为准并月结发票日期为30天支付。</div>
                <div>3，运输方式:${settlementTypeStr!}</div>
            </div>
        </div>

        <div style="margin-top:10px;">
            <div style="margin-left: 5px;float: left;width: 350px;line-height: 30px">
                <div style="font-weight: 600;">甲方: 江苏振江新能源装备股份有限公司</div>
                <div>地址: 江阴市利港镇镇澄路2608号</div>
                <div>委托代理人: ${outUserName!}</div>
                <div>签订日期: ${outCreateTime!}</div>
                <div>开户行: 中信银行江阴支行</div>
                <div>账号：8110501013700663716</div>
                <div>税号：91320200758486753F</div>
            </div>

            <div style="margin-left: 400px;line-height: 30px">
                <div style="font-weight: 600;">乙方: ${supplierName!}</div>
                <div>地址: ${supplierAddress!}</div>
                <div>委托代理人: ${concatName!}</div>
                <div>签订日期:  ${outCreateTime!}</div>
                <div>开户行: ${bank!}</div>
                <div>账号：${bankAccount!}</div>
                <div>税号：${dutyParagraph!}</div>
            </div>
        </div>

    </div>
</div>
</body>
</html>